package com.nsoft.server.register.beans;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="gc_details")
public class GcDetails implements Serializable {
	@Id
	@Column(name="gcd_num_id")
	private int gcdNumId;

	@Column(name="gcd_char_goods")
	private String gcdCharGoods;

	@Column(name="gcd_num_qtyunits")
	private int gcdNumQtyunits;

	@Column(name="gcd_num_weight")
	private int gcdNumWeight;

	@Column(name="gcd_cur_Freightrate")
	private int gcdCurFreightrate;

	@Column(name="gcd_num_weightdelivered")
	private int gcdNumWeightdelivered;

	@Column(name="gcd_char_general1")
	private String gcdCharGeneral1;

	@Column(name="gcd_char_general2")
	private String gcdCharGeneral2;

	@ManyToOne
	@JoinColumn(name="gcd_num_gcid")
	private GcHeader gcdNumGcid;

	private static final long serialVersionUID = 1L;

	public GcDetails() {
		super();
	}

	public int getGcdNumId() {
		return this.gcdNumId;
	}

	public void setGcdNumId(int gcdNumId) {
		this.gcdNumId = gcdNumId;
	}

	public String getGcdCharGoods() {
		return this.gcdCharGoods;
	}

	public void setGcdCharGoods(String gcdCharGoods) {
		this.gcdCharGoods = gcdCharGoods;
	}

	public int getGcdNumQtyunits() {
		return this.gcdNumQtyunits;
	}

	public void setGcdNumQtyunits(int gcdNumQtyunits) {
		this.gcdNumQtyunits = gcdNumQtyunits;
	}

	public int getGcdNumWeight() {
		return this.gcdNumWeight;
	}

	public void setGcdNumWeight(int gcdNumWeight) {
		this.gcdNumWeight = gcdNumWeight;
	}

	public int getGcdCurFreightrate() {
		return this.gcdCurFreightrate;
	}

	public void setGcdCurFreightrate(int gcdCurFreightrate) {
		this.gcdCurFreightrate = gcdCurFreightrate;
	}

	public int getGcdNumWeightdelivered() {
		return this.gcdNumWeightdelivered;
	}

	public void setGcdNumWeightdelivered(int gcdNumWeightdelivered) {
		this.gcdNumWeightdelivered = gcdNumWeightdelivered;
	}

	public String getGcdCharGeneral1() {
		return this.gcdCharGeneral1;
	}

	public void setGcdCharGeneral1(String gcdCharGeneral1) {
		this.gcdCharGeneral1 = gcdCharGeneral1;
	}

	public String getGcdCharGeneral2() {
		return this.gcdCharGeneral2;
	}

	public void setGcdCharGeneral2(String gcdCharGeneral2) {
		this.gcdCharGeneral2 = gcdCharGeneral2;
	}

	public GcHeader getGcdNumGcid() {
		return this.gcdNumGcid;
	}

	public void setGcdNumGcid(GcHeader gcdNumGcid) {
		this.gcdNumGcid = gcdNumGcid;
	}

}
